gtk: Move GtkGesture declaration to gtktypes.h
authorBenjamin Otte <otte@redhat.com>
Fri, 29 Jun 2018 02:48:10 +0000 (04:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 24 Jul 2018 18:55:45 +0000 (20:55 +0200)
That way, headers can use the gesture type without having to include
gtkgesture.h

gtk/gtkgesture.h
gtk/gtktypes.h

index cb70894c66c7bf9a3560ccf404f9ff908152082c..7513853157053f7effe70b03bae53b0e55d1e7a9 100644 (file)
@@ -36,7 +36,6 @@ G_BEGIN_DECLS
 #define GTK_IS_GESTURE_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE))
 #define GTK_GESTURE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE, GtkGestureClass))
 
-typedef struct _GtkGesture GtkGesture;
 typedef struct _GtkGestureClass GtkGestureClass;
 
 GDK_AVAILABLE_IN_ALL
index d0e91d30c45a03f6c36b415f0500102e36c949a5..fc58058821f6b9c262e6d00207a7e6a7c7c783e4 100644 (file)
@@ -37,6 +37,7 @@ typedef struct _GtkAdjustment          GtkAdjustment;
 typedef struct _GtkBuilder             GtkBuilder;
 typedef struct _GtkClipboard          GtkClipboard;
 typedef struct _GtkEventController     GtkEventController;
+typedef struct _GtkGesture             GtkGesture;
 typedef struct _GtkRequisition        GtkRequisition;
 typedef struct _GtkSelectionData       GtkSelectionData;
 typedef struct _GtkSettings            GtkSettings;